package org.yzz.org.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Component
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employee {
    @ApiModelProperty(value = "员工id")
    private Long id;
    @ApiModelProperty(value = "员工账号")
    private String username;
    @ApiModelProperty(value = "员工密码")
    private String password;
    @ApiModelProperty(value = "员工邮箱")
    private String email;
    @ApiModelProperty(value = "员工头像路径")
    private String headImage;
    @ApiModelProperty(value = "员工年龄")
    private Integer age;
    @ApiModelProperty(value = "员工所属部门")
    private Department department;

}
